package com.lindroy.androidplayer.logic.network2.statecallback

/**
 * @author Lin
 * @date 2021/4/22
 * @function 列表数据状态类
 */
data class ListDataState<T>(
    //是否请求成功
    val success: Boolean,
    //错误消息 isSuccess为false才会有
    val errMessage: String = "",
    //是否为刷新
    val isRefresh: Boolean = false,
    //是否为空
    val isEmpty: Boolean = false,
    //是否还有更多
    val hasMore: Boolean = false,
    //是第一页且没有数据
    val isFirstEmpty:Boolean = false,
    //列表数据
    val listData: ArrayList<T> = arrayListOf()
)
